<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>按钮、图标、日期</title>
    <!-- 请勿在项目正式环境中引用该 layui.css 地址 -->
    <link href="layui/css/layui.css" rel="stylesheet">
</head>
<body>
<div class="layui-btn-container">
    <button type="button" class="layui-btn">默认按钮</button>
    <button type="button" class="layui-btn layui-bg-blue layui-btn-xs">蓝色按钮</button>
    <button type="button" class="layui-btn layui-bg-orange">橙色按钮</button>
    <button type="button" class="layui-btn layui-bg-red">红色按钮</button>
    <button type="button" class="layui-btn layui-bg-purple">紫色按钮</button>
    <button type="button" class="layui-btn layui-btn-disabled">禁用按钮</button>
</div>

<div class="layui-btn-container">
    <button class="layui-btn layui-btn-primary layui-border-green">主色按钮</button>
    <button class="layui-btn layui-btn-primary layui-border-blue">蓝色按钮</button>
    <button class="layui-btn layui-btn-primary layui-border-orange">橙色按钮</button>
    <button class="layui-btn layui-btn-primary layui-border-red">红色按钮</button>
    <button class="layui-btn layui-btn-primary layui-border-purple">紫色按钮</button>
    <button class="layui-btn layui-btn-primary layui-border">普通按钮</button>
</div>

<div>
    <i class="layui-icon layui-icon-face-smile" style="font-size: 30px; color: #1E9FFF;"></i>
    <i class="layui-icon layui-icon-bluetooth" style="font-size: 30px; color: #1E9FFF;"></i>
</div>

<div class="layui-form">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">中文版</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" id="ID-laydate-demo" placeholder="yyyy-MM-dd">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">国际版</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" id="ID-laydate-demo-en" placeholder="yyyy-MM-dd">
            </div>
        </div>
    </div>
</div>
<script src="layui/layui.js"></script>
<script>
    layui.use(function(){
        var laydate = layui.laydate;
        // 渲染
        laydate.render({
            elem: '#ID-laydate-demo'
        });
        // 英文版
        laydate.render({
            elem: '#ID-laydate-demo-en',
            lang: 'en'
        });
    });
</script>

</body>
</html>